package com.yfp.client.service;

import com.yfp.client.domain.LotteryRecords;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yfp.client.domain.vo.LotteryRecordVO;
import com.yfp.client.domain.vo.LotteryVO;

import java.util.Date;
import java.util.List;

/**
* @author admin
* @description 针对表【lottery_records(抽奖主表)】的数据库操作Service
* @createDate 2025-01-03 09:41:02
*/
public interface LotteryRecordsService extends IService<LotteryRecords> {

    /**
     * 奖品列表
     * @return
     */
    LotteryVO prizeList(String cityName);

    /**
     * 抽奖记录
     * @param lotteryId
     * @return
     */
    List<LotteryRecordVO> lotteryRecord(Long lotteryId, Date getTime);

    /**
     * 抽奖
     * @return
     */
    LotteryRecordVO lottery(Long lotteryId);
}
